CONTROL.TEXTSELECT Function
Syntax
.TEXTSELECT( Start_Position as N [, Length as N [, Processed as L ]] )
Arguments
- Start_Position
The beginning character to select. The first character is number 1.
- Length
Optional. Default = 0. The number of characters to select. Enter -1 to select all characters.
Description
The .TEXTSELECT() method selects text in a control starting at Start_Position and running for Length characters.
Example
dim ptr as P dim fld as P ptr = form.load("Customer Information") ptr.show() fld = ptr.Child("Lastname") fld.TextSelect(1,-1) ' selects all text fld.TextSelect(3, 2) ' selects characters 3 and 4
Limitations
Desktop applications only.
See Also